<?xml version="1.0" encoding="utf-8"?>
<advgen:BaseWindow
	x:Class="AdvGenContact.WPF.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Title="AdvGen Contact - Untitiled" xmlns:advgen="clr-namespace:AdvGenContact.WPF"
	xmlns:advgenControls="clr-namespace:AdvGenContact.WPF.Controls"
	Height="300"
	Width="300"
	Icon="Images\1344190891.png">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition
				Height="25" />
			<RowDefinition
				Height="*" />
			<RowDefinition
				Height="21" />
		</Grid.RowDefinitions> 
		<Grid
			Grid.Column="0"
			Grid.Row="0"
			VerticalAlignment="Top"
			Height="25" >
			<Grid.ColumnDefinitions>
				<ColumnDefinition
					Width="*" />
				<ColumnDefinition
					Width="50" />
			</Grid.ColumnDefinitions>
			<Menu
				Margin="0,0,12,0">
					<MenuItem 
					 Name="GridButton" Visibility="Collapsed" Click="GridButton_Click">
<MenuItem.Header>
      <StackPanel>
	<Image Source="../Images/open.png"  Width="16" Height="16"/>
</StackPanel>
</MenuItem.Header>
</MenuItem>
				<MenuItem
					Header="_File">
					<MenuItem
						Header="_New" />
					<MenuItem
						Header="_Open..." />
					<MenuItem
						Header="_Save" />
					<MenuItem
						Header="_Save As..." Click="MenuItem_Click"/>
					<MenuItem
						Header="_Exit" />
				</MenuItem>
				<MenuItem
					Header="_Edit">
					<MenuItem
						Header="_Add a contact" />
					<MenuItem
						Header="_Delete contact" />
					<MenuItem
						Header="Search..." />
					<Separator />
					<MenuItem
						Header="Add a category..." />
					<MenuItem
						Header="Manage categories..." />
				</MenuItem>
				<MenuItem
					Header="_Help">
					<MenuItem
						Header="_About" />
				</MenuItem>
			</Menu>
			<Grid
				Grid.Column="1">
				<StackPanel FlowDirection="LeftToRight" Orientation="Horizontal">
				<Image
					Source="../Images/list-add.png" />
				<Image
					Source="../Images/white-trash.png" />
</StackPanel>
			</Grid>
		</Grid>
		<TextBlock
			Grid.Row="2"
			Name="lblButtom">
			<Hyperlink
				NavigateUri=""
				Click="lnkAds_Click"
				Name="lnkAds">Ads:Stellar Phoenix Windows Data Recovery - Pro</Hyperlink>
		</TextBlock>
		<Grid Name="mainGrid"
			Grid.Column="0"
			Grid.Row="1"
			Margin="0,0,0,0">
			<Grid.ColumnDefinitions>
				<ColumnDefinition
					Width="100" />
				<ColumnDefinition
					Width="*" />
			</Grid.ColumnDefinitions>
			<advgenControls:CollapsibleControl  Style="{StaticResource LeftPanel}" x:Name="leftPanel" IsExpanded="True"  EffectTime="2">	
	<advgenControls:CollapsibleControl.RenderTransform>
				<TranslateTransform/>
				</advgenControls:CollapsibleControl.RenderTransform>
				
				
<advgenControls:CollapsibleControl.Sections>
				<advgenControls:AdvGenGrid HeaderText="Contacts"><TreeView
				x:Name="treeView" 	Style="{StaticResource MainLeftPanel}" />	</advgenControls:AdvGenGrid>
				
				<advgenControls:AdvGenGrid HeaderText="Categories"><TreeView
				x:Name="treeView1" 	Style="{StaticResource MainLeftPanel}" />	</advgenControls:AdvGenGrid>
				</advgenControls:CollapsibleControl.Sections>


			</advgenControls:CollapsibleControl>

			<Grid
				Grid.Column="1"
				Name="ContentPanel"
				Style="{StaticResource BluePanel}"
				
				>
				<Grid.ColumnDefinitions>
					<ColumnDefinition
						Width="20" />
					<ColumnDefinition
						Width="*" />
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition
						Height="21" />
					<RowDefinition
						Height="21" />
					<RowDefinition
						Height="21" />
					<RowDefinition
						Height="0.316508644729504*" />
					<RowDefinition
						Height="0.683491355270496*" />
				</Grid.RowDefinitions>
				<Border x:Name="columnHeaderBorder"
		BorderThickness="1" Grid.ColumnSpan="2"
		Padding="3,0,3,0">
		<Border.BorderBrush>
			<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
				<GradientStop Offset="0" Color="#A5A5A5" />
				<GradientStop Offset="1" Color="#4B4B4B" />
			</LinearGradientBrush>
		</Border.BorderBrush>
		<Border.Background>
			<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
				<GradientStop Offset="0" Color="#FFF" />
				<GradientStop Offset="1" Color="#e0e0e0" />
			</LinearGradientBrush>
		</Border.Background>
			 <TextBlock
               
			
             
               Text="Personal Details"/>
		</Border>
			</Grid>
		</Grid>
	</Grid>
</advgen:BaseWindow>